package com.garlicts.framework.base.code;

public enum CommonCode implements ICode {
	SUCCESS(10000, "成功"), 
	UNKNOWN(-1, "未知异常");

	private int code;
	private String msg;

	private CommonCode(int code, String msg) {
		this.code = code;
		this.msg = msg;
	}

	public int getCode() {
		return this.code;
	}

	public String getMsg() {
		return this.msg;
	}
	
}